how to solve linear equations using inverse of matrix